import { Discover, Study, My, E404 } from "../pages";
export const baseUrl = {
    discover: '/discover',
    study: "/study",
    my: "/my",
    E404: "/E404"
}
const baseRouters = [
    {
        path: baseUrl.discover,
        component: Discover,
        root: [],
        title: "发现",
        icon:'iconfont icon-faxian-'
    },
    {
        path: baseUrl.study,
        component: Study,
        root: [],
        title: "学习",
        icon:'iconfont icon-xuexiyuandi'
    },
    {
        path: baseUrl.my,
        component: My,
        root: [],
        title: "我的",
        icon:'iconfont icon-wode'
    },
    {
        path: baseUrl.E404,
        component: E404,
        root: [],
    },
    {
        from: "/",
        to: "/home",
    },
    {
        to: "/E404"
    }
]
export default baseRouters;